Repository navigation
docker cache - #1014
Closed
normanmaurer wants to merge 2 commits into
Closed
docker cache#1014normanmaurer wants to merge 2 commits into
normanmaurer wants to merge 2 commits into
Conversation
normanmaurer
commented
Sep 18, 2026
Member
- Bump up macosxDeploymentTarget to 11 as lower is not supported anymore by latest macos release
- Cache docker build images in ghcr.io to speed up CI
…e by latest macos release Motivation: We need to bump up the target to be able to compile on latest macos release Modifications: Use 11 Result: Be able to compile again
Motivation: Every docker compose build in ci-build.yml, ci-pr.yml, ci-deploy.yml and ci-release.yml rebuilds the CentOS6/CentOS7-aarch64/Debian7/AL2023 images from scratch on each run since GitHub-hosted runners are ephemeral and have no persistent layer cache. ci-build.yml/ci-pr.yml previously worked around this with a type=gha buildx cache scoped per matrix leg; ci-deploy.yml and ci-release.yml had no docker layer caching at all. Modifications: Switch to buildx with a registry cache backend (ghcr.io) so the expensive image layers (devtoolset, OpenSSL built from source, cross-compile toolchains) are reused across runs and across workflows. Cache images are pushed to ghcr.io/netty/netty-tcnative-build-cache, distinct from netty/netty's own ghcr.io/netty/netty-build-cache, so the two repositories' caches can never collide or overwrite each other. Result: Speed up CI builds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.